<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>360商城 - 用户注册</title>
    <style type="text/css">
        body {
            _behavior: url(http://www.happigo.com/shop/templates/default/css/csshover.htc);
        }
        .errorInfo{
            height: 40px;
        }
    </style>

    <link href="{{ asset('/dist/home/css/header.css') }}"
          rel="stylesheet">
    <link href="{{ asset('/dist/home/css/footer.css') }}"
          rel="stylesheet">
    <link href="{{ asset('/dist/home/css/dialog.css') }}"
          rel="stylesheet" type="text/css">

</head>
<body>
<div id="append_parent"></div>
<!-- 头部 start-->
<div class="full_sc">
    <div class="w1000 header_center ClearFix">
        <div class="h_c_logo" style="float: left;">
            <a href="{{ url('/') }}">
            <img src="{{ asset('/dist/home/images/360logo.png') }}"></a>
        </div>
        <div style="float: left; width:300px; height: 60px; margin-left: 150px; font-size: 30px;color: #666666">|&nbsp;&nbsp;&nbsp;
            <a href="" style="font-size: 30px; color: #666666">注册账号</a>
        </div>
    </div>
</div>
<!-- 头部 end-->
<link href="{{ asset('/dist/home/css/register.css') }}" rel="stylesheet">
<form action="{{ url('/store')}}" method="post">
<div class="w980">
    <div class="login_box ClearFix">
        <div class="logn_b_r ClearFix" style="margin-left: 300px;">
            <div class="lognul">
                <div class="login_h2 ClearFix">
                    <h2 style="color: #666;">注册360账户</h2>
                    <div class="lognrtop">已有帐号<a href="{{ url('/login') }}" style="color: #22ac69">在此登录</a></div>
                </div>
                <div class="mc">
                    <div class="form">
                        <form id="register_form" method="post"
                              action="">

                            <div class="item item1">
                                <input type="hidden" name="_token" value="{{ $data["_token"] or csrf_token()}}"/>
                                <input placeholder="请输入用户名" class="itxt onfocustxt"  name="user_name" value="{{$data["user_name"] or ''}}" id="mobile" type="text">
                            <div style="height: 20px;"></div>
                            </div>
                            <div class="item item2">
                                <input placeholder="请输入密码" autocomplete="off" tabindex="4" maxlength="20" class="itxt"
                                       name="user_pass" id="password" type="password" value="">
                                <div style="height: 20px;"></div>
                            </div>
                            <div class="item item2">
                                <input placeholder="请再次输入密码" class="itxt" autocomplete="off" tabindex="5" maxlength="20"
                                       name="repassword" value="" id="password_confirm" type="password">
                                <div style="height: 20px;"></div>
                            </div>
                            <div class="item item3">
                                <input placeholder="验证码" autocomplete="off" tabindex="6" maxlength="5" size="10"
                                       class="itxt itxt_yzm onfocustxt" name="code" value="" id="captcha" type="text">
                                <img style="float: right;" align="top" src="{{url("/captcha").'/'.rand()}}"
                                     onclick="this.src = this.src.replace(/\d+$/, '')  + Math.random();">
                                <div style="height: 20px;"></div>
                            </div>
                            <div>
                                <div>
                                    <input type="submit" value="下一步" style="width: 294px; height: 40px; border-radius: 5px; background-color: #22ac69" />
                                </div>
                                <div>
                                    <div style="color: #22ac69">点击“下一步”，即表示您已同意并愿意遵守《360用户服务条款》</div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div style="float: right;  margin-right: 20px">
            <ul>
                @if(session('info'))
                <li class="errorInfo" style="color: #666666"><img src="{{asset('/dist/home/images/Cerror.jpg') }}" alt="">{{ session('info') }}</li>
                @endif
                @if(count($errors) > 0)
                    @foreach($errors->all() as $e)
                        <li class="errorInfo" style="color: #666666"><img src="{{asset('/dist/home/images/Cerror.jpg') }}" alt="">{{$e}}</li>
                    @endforeach
                @endif
            </ul>
        </div>
    </div>
</div>
</form>
<!--底部-->
<div class="footer Clearfix">
    <div class="footer_bottom">
        <div class="w1200">
            <p>
                <span class="font_arial">Copyright© 2006-2016 happigo. All Rights Reserved </span>
                免费服务热线: 400-705-1111 | 固话也可拨打: 800-705-1111
                <span class="font_arial">E-Mail: service@happigo.com</span><br>
                湘ICP备12000157号 信息网络传播视听节目许可证号：1810530
            </p>
            <p class="footer_p">
                <a href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/2782875193.html" target="_blank">
                    <img src="{{ asset('/dist/home/images/foot_img3.png') }}"></a>
                <a href="https://search.szfw.org/cert/l/CX20150428007576007720" target="_blank">
                    <img src="{{ asset('/dist/home/images/foot_img4.png') }}"></a>
            </p>
        </div>
    </div>
</div>
<!--底部 end-->
</body>
</html>